package com.lovo.game;

import com.lovo.game.imp.*;

public class Player {

    public static void main(String[] args) {

        Robber robber = new Robber("小小盗贼", 10);
        Hunter hunter = new Hunter("小小猎人", 11);
        Doctor doctor = new Doctor("小小医生", 10);
        Farmer farmer = new Farmer("小小农民", 15);
        Soldier soldier = new Soldier("小小士兵", 12);

        robber.selfIntroduce();
        hunter.selfIntroduce();
        doctor.selfIntroduce();
        farmer.selfIntroduce();
        soldier.selfIntroduce();


        robber.rob();
        robber.attack();
        hunter.hunt();
        hunter.attack();
        doctor.treat();
        farmer.attack();
        farmer.mine();
        farmer.treat();
        soldier.defend(hunter);

    }




}
